// 响应对象
class NetworkResponse {
  late int code; // 状态码
  String? id;
  String? tencentId;
  dynamic msg;
  dynamic data;
  dynamic result;
  dynamic money;
  dynamic volley;

  NetworkResponse(
      {required this.code, this.msg, this.id, this.data, this.result, this.money, this.volley, this.tencentId});

  factory NetworkResponse.fromJson(Map<String, dynamic> json) {
    return NetworkResponse(
      code: json['code'],
      msg: json['msg'],
      id: json['id'],
      data: json['data'],
      result: json['result'],
      money: json['money'],
      volley: json['volley'],
      tencentId: json['tencentId'],
    );
  }
}
